<html>
<head>
	<title>修改密码</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css"
	href="../easyUI/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../easyUI/themes/icon.css">
<link rel="stylesheet" type="text/css" href="../demo.css">
<!-- <script type="text/javascript" src="../easyUI/jquery.min.js"></script> -->
<!-- <script type="text/javascript" src="../easyUI/jquery.easyui.min.js"></script> -->

<script language="javascript" src="../script/jquery.js"></script>
<script language="javascript" src="../script/pageCommon.js"
	charset="utf-8"></script>
<script language="javascript" src="../script/PageUtils.js"
	charset="utf-8"></script>
<script language="javascript" src="../script/DemoData.js"
	charset="utf-8"></script>
<script language="javascript" src="../script/DataShowManager.js"
	charset="utf-8"></script>
<link type="text/css" rel="stylesheet"
	href="../style/blue/pageCommon.css" />
<link rel="stylesheet" type="text/css"
	href="../easyUI/themes/default/easyui.css">
<link rel="stylesheet" type="text/css" href="../easyUI/themes/icon.css">
<link rel="stylesheet" type="text/css" href="../demo.css">
<script type="text/javascript" src="../easyUI/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="../easyUI/jquery.easyui.min.js"></script>
<script type="text/javascript"
	src="../easyUI/plugins/jquery.datagrid.js"></script>
<script type="text/javascript" src="../zTree_v3/js/jquery.ztree.core.js"></script>

<script type="text/javascript"
	src="../zTree_v3/js/jquery.ztree.all.min.js"></script>
<link rel="stylesheet" href="../zTree_v3/css/zTreeStyle/zTreeStyle.css"
	type="text/css">
<link rel="stylesheet" href="../zTree_v3/css/demo.css" type="text/css">

</head>
<body>

<!-- 标题显示 -->
<div id="Title_bar">
    <div id="Title_bar_Head">
        <div id="Title_Head"></div>
        <div id="Title"><!--页面标题-->
            <img border="0" width="13" height="13" src="../style/images/title_arrow.gif"/> 修改密码
        </div>
        <div id="Title_End"></div>
    </div>
</div>

<!--显示表单内容-->
<div id=MainArea>
    <form action="editPassword" id="editPass">
        <div class="ItemBlock_Title1"><!-- 信息说明<DIV CLASS="ItemBlock_Title1">
        	<IMG BORDER="0" WIDTH="4" HEIGHT="7" SRC="../style/blue/images/item_point.gif" /> 修改密码 </DIV>  -->
        </div>
        
        <!-- 表单内容显示 -->
        <div class="ItemBlockBorder">
            <div class="ItemBlock">
                <table cellpadding="0" cellspacing="0" class="mainForm">
					<tr height="50">
						<td width="150">
							<img border="0" width="4" height="7" src="../style/blue/images/item_point.gif" />
							请输入原密码
						</td>
						<td><input type="password" name="oldPassword" class="InputStyle" id="opwd" /> *</td>
					</tr>
					<tr height="25">
						<td width="150">
							<img border="0" width="4" height="7" src="../style/blue/images/item_point.gif" />
							请填写新密码
						</td>
						<td><input type="password" name="password" class="InputStyle" id="newpwd"/> *</td>
						<td></td>
					</tr>
					<tr height="25">
						<td width="150">
							<img border="0" width="4" height="7" src="../style/blue/images/item_point.gif" />
							再次输入新密码
						</td>
						<td><input type="password" name="password2" class="InputStyle" id="newpwd2" /></td>
						<td></td>
					</tr>
                </table>
            </div>
        </div>
       
        <!-- 表单操作 -->
        <div id="InputDetailBar">
            <!-- <input type="image" src="../style/images/save.png" id="commit"/> -->
            <a href="" id="commit"><img src="../style/images/save.png"></a>
            <a href="javascript:history.go(-1);"><img src="../style/images/goBack.png"/></a>
        </div>
    </form>
</div>

<div class="Description">
	验证规则：<br />
	1，旧密码不能为空。<br />
	2，新密码不能为空。<br />
	3，再次输入的密码要和新密码一致。<br />
</div>
<script type="text/javascript">
	$(document).ready(function() {
		$("#commit").click(function() {
			var oldpw = $("#opwd").val();
			if(oldpw==""){
			//alert(oldpw);
		     $.messager.alert("提示框","原始密码不能为空","info");
				return ;
			}
			$("#editPass").submit();
		})
	})
	
</script>
</body>
</html>
